Skip to content

Handle errors for forward request#1099

Merged
jcrugzz merged 1 commit intohttp-party:masterfrom
TND:handle-errors-for-forward
Dec 1, 2016
Merged

Handle errors for forward request#1099
jcrugzz merged 1 commit intohttp-party:masterfrom
TND:handle-errors-for-forward

Conversation

@maartenth
Copy link
Contributor

Errors in forward requests were not handled. This caused my process to exit after an ECONNREFUSED.

Errors in target request and the original request were already properly handled. I added forward request error handling the same way.

Added a test case proving the fix.

@jcrugzz jcrugzz merged commit 69cf892 into http-party:master Dec 1, 2016
@jcrugzz
Copy link
Contributor

jcrugzz commented Dec 1, 2016

LGTM 👍. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants